(*
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *)

open! NS

(** Source code debug locations *)

type t = {dir: string; file: string; line: int; col: int} [@@deriving compare, equal, sexp]

val pp : t pp

val none : t

val mk : dir:string option -> file:string option -> line:int option -> col:int option -> t

val root : string option ref
(** Pathnames are printed relative to [root] if set. *)
